package BotonSwing;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;



public class BotonSwing {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		JFrame f1 = new JFrame();
		f1.setTitle("Migración");
		f1.setSize(200,150);
		f1.setLayout(new FlowLayout());
		JButton b1 = new JButton("1");
		f1.add(b1);
		f1.setVisible(true);
		JButton b2 = new JButton("2");
		f1.add(b2);
		f1.setVisible(true);
		JButton b3 = new JButton("3");
		f1.add(b3);
		f1.setVisible(true);
		JButton b4 = new JButton("4");
		f1.add(b4);
		f1.setVisible(true);
	}

}
